local sk__chezheng_active = fk.CreateSkill {

  name = "sk__chezheng_active",

  tags = {},

}



sk__chezheng_active:addEffect("active", {
  name = "sk__chezheng_active",
  card_num = 0,
  min_target_num = 1,
  max_target_num = function()
    return Self.hp
  end,
  interaction = function()
    return UI.ComboBox { choices = { "sk__chezheng_discard", "sk__chezheng_draw" } }
  end,
  card_filter = Util.FalseFunc,
  target_filter = function(self, player, to_select, selected, selected_cards)
    if #selected < player.hp then
      if self.interaction.data == "sk__chezheng_discard" then
        return not to_select:isNude()
      else
        return true
      end
    end
  end,
})

return sk__chezheng_active
